ThemeIsle\GutenbergBlocks\Plugins\Block_Conditions S

Total Complexity 46
Dependencies 2
Dependents 0
Total lines 275
Lines of code 145
Logical lines of code 80
Comment lines 89
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
evaluate_condition()
B
42 19 57
render_blocks()
A
51 12 27
has_user_roles()
S
64 3 10
init()
S
69 2 6
add_attributes_to_blocks()
S
65 2 9
has_author()
S
65 2 9
instance()
S
70 2 7
is_type()
S
75 1 4
has_category()
S
65 1 10
__clone()
S
78 1 3
__wakeup()
S
78 1 3